<%@page extends="org.dreamwork.jasmine2.sample.page.Part1" contentType="text/html;charset=utf-8" layout="layout.jasmine"%>
<%@ taglib prefix="c" uri="http://www.dreamwork.com/jasmine2/web/ui" %>
<div clientId = "main-body">
    Color --
    <c:DropdownList id="colorList" datasource="<%#items%>" valuefield="text" textfield="value" />
    <table>
        <tr>
        <c:repeater datasource="<%#columnNames%>" viewstateenabled="false">
            <th><%#container.dataItem%></th>
        </c:repeater>
        </tr>
        <c:repeater datasource="<%#data%>" runat="server" viewstateenabled="false">
        <tr>
            <td><%#DataBinder.eval (container.dataItem, "Id")%></td>
            <td><%#DataBinder.eval (container.dataItem, "Name")%></td>
            <td><%#DataBinder.eval (container.dataItem, "Age")%></td>
            <td><%#DataBinder.eval (container.dataItem, "Status")%></td>
        </tr>
        </c:repeater>
    </table>
</div>